<?php
/**
 *
 * Author: TheSmile
 * Date: 2023/7/20 16:40
 * Email: <594652523@qq.com>
 */

namespace App\Http\Controllers\Api;

use App\Http\Services\TradeNotifyService;

class TradeNotifyController
{
    protected $tradeNotifyService;

    public function __construct(TradeNotifyService $tradeNotifyService)
    {
        $this->tradeNotifyService = $tradeNotifyService;
    }

    /**
     * 微信支付回调
     * @return void
     */
    public function wechatNotify()
    {
        return $this->tradeNotifyService->wechatNotify();
    }

    public function wechatRefundNotify()
    {
        return $this->tradeNotifyService->wechatRefundNotify();
    }
}
